package com.ysd.lis.service.bac;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.Result;
import com.ysd.lis.entity.bac.BacRule;
import com.ysd.lis.entity.lab.LabMaininfo;

import java.util.List;

/**
* @author 52771
* @description 针对表【BAC_RULE(微生物规则表)】的数据库操作Service
* @createDate 2024-08-20 14:49:09
*/
public interface BacRuleService extends IService<BacRule> {

   Result findBacRuleList(BacRule bacRule);

   Result findBacRuleConditionOperatList(String code);

   Result addBacRule(BacRule bacRule);

   Result deleteBacRule(List<String> codes);

   Result updateBacRule(BacRule bacRule);

   Result findBacRuleDetialList(BacRule bacRule);

   Result saveAllRule(BacRule bacRule);

   Boolean checkProcessRule(LabMaininfo labMaininfo,String ruleType);

}
